<demo>
基本使用 — click
</demo>
<template>
  <div @click="yyy">
    <Popover>
      <template v-slot:content>
        <div>Hello World!</div>
      </template>
      <Button>点我</Button>
    </Popover>
    <Popover position="bottom">
      <template v-slot:content>
        <div>Hello World!</div>
      </template>
      <Button>点我</Button>
    </Popover>
    <Popover position="left">
      <template v-slot:content>
        <div>Hello World!</div>
      </template>
      <Button>点我</Button>
    </Popover>
    <Popover position="right">
      <template v-slot:content>
        <div>Hello World!</div>
      </template>
      <Button>点我</Button>
    </Popover>
  </div>
</template>

<script lang="ts">
import Button from "../../lib/Button.vue";
import Popover from "../../lib/popover/index.vue";
export default {
  components: { Popover, Button },
  setup(props) {
    const yyy = () => {
      console.log("click");
    };

    return {
      yyy,
    };
  },
};
</script>

<style></style>
